#ifndef _Decrypter__H
#define _Decrypter__H

#include "common.h"

class Decrypter
{
  public:
    Decrypter(const char* keyName);
    ~Decrypter();

    //caller must delete returned buffer
    char* DecryptData(const char* inBuf, int len);

  private:
    RSA* rsaPriv;

};

#endif //_Decrypter__H
